using UnityEngine;

public class ReconnectPanel
{   
    public GameObject Go { get; private set; }
    public Transform Tf { get; private set; }
	public GameObject Dialog_obj { get; private set; }
	public UILabel Dialog_txt { get; private set; }
	public UILabel Info_txt { get; private set; }

    public ReconnectPanel(GameObject obj)
    {
        Go = obj; Tf = obj.transform;
		Dialog_obj = Tf.Find("Dialog_obj").gameObject;
		Dialog_txt = Tf.Find("Dialog_obj/Dialog_txt").GetComponent<UILabel>();
		Info_txt = Tf.Find("Sprite/Info_txt").GetComponent<UILabel>();
    }
}